@import "./radio.scss";
@import "./radio-button.scss";

.pe-radio-group {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;

    .pe-radio-button:first-child {
        border-top-left-radius: var(--pe-border-radius);
        border-bottom-left-radius: var(--pe-border-radius);
        border-left-width: 1px;
    }
    .pe-radio-button:last-child {
        border-top-right-radius: var(--pe-border-radius);
        border-bottom-right-radius: var(--pe-border-radius);
    }
}

.pe-radio-group+.pe-radio-group {
    margin-left: calc(var(--pe-margin-left) * 2);
}

.pe-radio-inp {
    width: 0;
    height: 0;
    display: none;
    margin: 0;
}